package bean;

import java.util.Date;

/**
 * @Author 王志康
 * @Date 2021/8/30 10:18
 * @Version 1.0.0
 */
public class ProductBean {
    /**
     * productId 产品编号
     * productName 产品名称
     * productPrice 产品价格
     * onTheShelf 是否上架
     */
    protected int productId;
    protected String productName;
    protected double productPrice;
    protected boolean onTheShelf;

    public ProductBean(int productId, String productName, double productPrice, boolean onTheShelf) {
        this.productId = productId;
        this.productName = productName;
        this.productPrice = productPrice;
        this.onTheShelf = onTheShelf;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public double getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(double productPrice) {
        this.productPrice = productPrice;
    }

    public boolean isOnTheShelf() {
        return onTheShelf;
    }

    public void setOnTheShelf(boolean onTheShelf) {
        this.onTheShelf = onTheShelf;
    }
}
